A pendulum is created with unity's hinge joint constraint. The rotation of the block was applied to the rotation of the liquid surface